/**
 * 作者: clz
 * 日期: 2025-04-28 01:18:55
 * 备注: 联盟远征boss 表
 */
package com.motu.monstercity.server.game.commondata.union;

import io.vertx.core.json.JsonObject;

public class UnionBossStageModel {
	protected int id; // 关卡id
	protected long power; // boss战力
	protected int rankType; // 排行榜奖励 (对应的rank_reward.csv中的rank_type)
	protected String finallyReward; // 最后一击奖励
	protected String reward; // 参与奖励

	public UnionBossStageModel() {
	}

	public UnionBossStageModel(JsonObject obj) {
		id = obj.containsKey("id") ? obj.getInteger("id") : 0;
		power = obj.containsKey("power") ? obj.getLong("power") : 0;
		rankType = obj.containsKey("rank_type") ? obj.getInteger("rank_type") : 0;
		finallyReward = obj.containsKey("finally_reward") ? obj.getString("finally_reward") : "";
		reward = obj.containsKey("reward") ? obj.getString("reward") : "";
	}

	public int getId() {
		return id;
	}

	public long getPower() {
		return power;
	}

	public int getRankType() {
		return rankType;
	}

	public String getFinallyReward() {
		return finallyReward;
	}

	public String getReward() {
		return reward;
	}

}
